import Vue from 'vue'
import VueRouter from 'vue-router'
import Msite from '../pages/Msite/Msite'
import Order from '../pages/Order/Order'
import Profile from '../pages/Profile/Profile'
import Search from '../pages/Search/Search'
import Login from '../pages/Login/Login'

Vue.use(VueRouter)

const routes = [
  {
    path:'/msite',
    name:'msite',
    component:Msite,
    meta:{
      showFooter:true
    }
  },
  {
    path:'/order',
    name:'order',
    component:Order,
    meta:{
      showFooter:true
    }
  },
  {
    path:'/profile',
    name:'profile',
    component:Profile,
    meta:{
      showFooter:true
    }
  },
  {
    path:'/search',
    name:'search',
    component:Search,
    meta:{
      showFooter:true
    }
  },
  {
    path:'/login',
    name:'login',
    component:Login,

  },

]

const router = new VueRouter({
  routes
})

export default router
